<?php
/**
 * sdPHP
 * @author     码农<8044023@qq.com>
 * @copyright  sdPHP
 * @license    https://gitee.com/cq8044023/sdphp
 */
namespace app\Home\Controller;
use sdphp\lib\Controller;
class TestController extends Controller{
    //http 
    public function http_demo(){
        //TODO 待写模板渲染
        $this->send("<h3>要显示的数据</h3><img src='/admin.png'/>");
    }
    //tcp
    public function tcp_demo(){
        
    }
    //websocket
    public function ws_demo(){
        
    }
}